package com.xiongda.pojo;

/**
 * 安全问题设置
 * @author 缪琼
 */
public class SafetyProblem {
    private Long id;// id

    private Long userId;// 用户id

    private String questionOne;// 问题1

    private String questionTwo;// 问题2

    private String questionThree;// 问题3

    private String answerOne;// 答案1

    private String answerTwo;// 答案2

    private String answerThree;// 答案3

    public SafetyProblem(Long id, Long userId, String questionOne, String questionTwo, String questionThree, String answerOne, String answerTwo, String answerThree) {
        this.id = id;
        this.userId = userId;
        this.questionOne = questionOne;
        this.questionTwo = questionTwo;
        this.questionThree = questionThree;
        this.answerOne = answerOne;
        this.answerTwo = answerTwo;
        this.answerThree = answerThree;
    }

    public SafetyProblem() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getQuestionOne() {
        return questionOne;
    }

    public void setQuestionOne(String questionOne) {
        this.questionOne = questionOne == null ? null : questionOne.trim();
    }

    public String getQuestionTwo() {
        return questionTwo;
    }

    public void setQuestionTwo(String questionTwo) {
        this.questionTwo = questionTwo == null ? null : questionTwo.trim();
    }

    public String getQuestionThree() {
        return questionThree;
    }

    public void setQuestionThree(String questionThree) {
        this.questionThree = questionThree == null ? null : questionThree.trim();
    }

    public String getAnswerOne() {
        return answerOne;
    }

    public void setAnswerOne(String answerOne) {
        this.answerOne = answerOne == null ? null : answerOne.trim();
    }

    public String getAnswerTwo() {
        return answerTwo;
    }

    public void setAnswerTwo(String answerTwo) {
        this.answerTwo = answerTwo == null ? null : answerTwo.trim();
    }

    public String getAnswerThree() {
        return answerThree;
    }

    public void setAnswerThree(String answerThree) {
        this.answerThree = answerThree == null ? null : answerThree.trim();
    }
}